function outGas1(){
    document.writeln("<script type=\"text/javascript\"><!--");
    document.writeln("google_ad_client = \"ca-pub-4349936551126280\";");
    document.writeln("google_ad_slot = \"2408619335\";");
    document.writeln("google_ad_width = 728;");
    document.writeln("google_ad_height = 90;");
    document.writeln("//-->");
    document.writeln("</script>");
    document.writeln("<script type=\"text/javascript\" src=\"http://pagead2.googlesyndication.com/pagead/show_ads.js\"></script>");
};

function outGas2(){
    document.writeln("<script type=\"text/javascript\"><!--");
    document.writeln("google_ad_client = \"ca-pub-4349936551126280\";");
    document.writeln("google_ad_slot = \"4407126846\";");
    document.writeln("google_ad_width = 300;");
    document.writeln("google_ad_height = 250;");
    document.writeln("//-->");
    document.writeln("</script>");
    document.writeln("<script type=\"text/javascript\" src=\"http://pagead2.googlesyndication.com/pagead/show_ads.js\"></script>");
};

function outGas3(){
    document.writeln("<script type=\"text/javascript\"><!--");
    document.writeln("google_ad_client = \"ca-pub-4349936551126280\";");
    document.writeln("google_ad_slot = \"8558124841\";");
    document.writeln("google_ad_width = 470;");
    document.writeln("google_ad_height = 60;");
    document.writeln("//-->");
    document.writeln("</script>");
    document.writeln("<script type=\"text/javascript\" src=\"http://pagead2.googlesyndication.com/pagead/show_ads.js\"></script>");
};

function outAli1(){
    document.writeln("<script type=\"text/javascript\">alimama_pid=\"mm_10723940_3420268_11110865\"; alimama_width=760; alimama_height=90;</script> ");
    document.writeln("<script src=\"http://a.alimama.cn/inf.js\" type=\"text/javascript\"></script>");
};

function outAli2(){
    document.writeln("<script type=\"text/javascript\">alimama_pid=\"mm_10723940_3458061_11242074\"; alimama_width=300; alimama_height=250;</script> ");
    document.writeln("<script src=\"http://a.alimama.cn/inf.js\" type=\"text/javascript\"></script>");
};

function outAli3(){
    document.writeln("<script type=\"text/javascript\">alimama_pid=\"mm_10723940_3458061_11242633\"; alimama_width=728; alimama_height=90;</script> ");
    document.writeln("<script src=\"http://a.alimama.cn/inf.js\" type=\"text/javascript\"></script>");
};

function outSg1(){
    document.writeln("<script type=\"text/javascript\">");
    document.writeln("var sogou_ad_id=132198;");
    document.writeln("var sogou_ad_height=250;");
    document.writeln("var sogou_ad_width=300;");
    document.writeln("</script>");
    document.writeln("<script type=\'text/javascript\' src=\'http://images.sohu.com/cs/jsfile/js/c.js\'></script>");
};

function outSg2(){
    document.writeln("<script type=\"text/javascript\">");
    document.writeln("var sogou_ad_id=132196;");
    document.writeln("var sogou_ad_height=60;");
    document.writeln("var sogou_ad_width=640;");
    document.writeln("</script>");
    document.writeln("<script type=\'text/javascript\' src=\'http://images.sohu.com/cs/jsfile/js/c.js\'></script>");
};

function outRnd1(){
    var r = ut.rndint(0, 3);
    switch(r){
        case 0 :
            outGas2();
            break;
        case 1 :
            outSg1();
            break;
        case 2 :
            outAli2();
            break;
    };
};

function outRnd2(){
    var r = ut.rndint(0, 3);
    switch(r){
        case 0 :
            outSg2();
            break;
        case 1 :
            outAli3();
            break;
        case 2:
            outGas3();
            break;
    };
};

function outUjian1(){
    document.writeln("<div class=\"ujian-hook\"></div>");
    document.writeln("<script type=\"text/javascript\">var ujian_config = {num:10,showType:3};</script>");
    document.writeln("<script type=\"text/javascript\" src=\"http://v1.ujian.cc/code/ujian.js?uid=89627\"></script>");
    document.writeln("<a href=\"http://www.ujian.cc\" style=\"border:0;\"><img src=\"http://img.ujian.cc/pixel.png\" alt=\"友荐云推荐\" style=\"border:0;padding:0;margin:0;\" /></a>");
};

function aliTdj(win,doc){
    var s = doc.createElement("script"), h = doc.getElementsByTagName("head")[0];
    if (!win.alimamatk_show){
        s.charset = "gbk";
        s.async = true;
        s.src = "http://a.alimama.cn/tkapi.js";
        h.insertBefore(s, h.firstChild);
    };
    var o = {
        pid: "mm_10723940_3458061_11257603",
        appkey: "21385803",
        unid: ""
    };
    win.alimamatk_onload = win.alimamatk_onload || [];
    win.alimamatk_onload.push(o);
};